//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
export default class POSConst {
  // 文本左对齐
  public static readonly ALIGNMENT_LEFT = 0;
  // 文本居中对齐
  public static readonly ALIGNMENT_CENTER = 1;
  // 文本右对齐
  public static readonly ALIGNMENT_RIGHT = 2;
  // 默认字体
  public static readonly FNT_DEFAULT = 0;
  // 字体B类型
  public static readonly FNT_FONTB = 1;
  // 粗体字体
  public static readonly FNT_BOLD = 8;
  // 反白字体
  public static readonly FNT_REVERSE = 16;
  // 单下划线
  public static readonly FNT_UNDERLINE = 128;
  // 双下划线
  public static readonly FNT_UNDERLINE2 = 256;
  // 文本宽度1倍
  public static readonly TXT_1WIDTH = 0;
  // 文本宽度2倍
  public static readonly TXT_2WIDTH = 16;
  // 文本宽度3倍
  public static readonly TXT_3WIDTH = 32;
  // 文本宽度4倍
  public static readonly TXT_4WIDTH = 48;
  // 文本宽度5倍
  public static readonly TXT_5WIDTH = 64;
  // 文本宽度6倍
  public static readonly TXT_6WIDTH = 80;
  // 文本宽度7倍
  public static readonly TXT_7WIDTH = 96;
  // 文本宽度8倍
  public static readonly TXT_8WIDTH = 112;
  // 文本高度1倍
  public static readonly TXT_1HEIGHT = 0;
  // 文本高度2倍
  public static readonly TXT_2HEIGHT = 1;
  // 文本高度3倍
  public static readonly TXT_3HEIGHT = 2;
  // 文本高度4倍
  public static readonly TXT_4HEIGHT = 3;
  // 文本高度5倍
  public static readonly TXT_5HEIGHT = 4;
  // 文本高度6倍
  public static readonly TXT_6HEIGHT = 5;
  // 文本高度7倍
  public static readonly TXT_7HEIGHT = 6;
  // 文本高度8倍
  public static readonly TXT_8HEIGHT = 7;
  // 位图正常大小
  public static readonly BMP_NORMAL = 0;
  // 位图宽度放大一倍
  public static readonly BMP_WIDTH_DOUBLE = 1;
  // 位图高度放大一倍
  public static readonly BMP_HEIGHT_DOUBLE = 2;
  // 位图宽高都放大一倍
  public static readonly BMP_WIDTH_HEIGHT_DOUBLE = 3;
  // UPC-A条码
  public static readonly BCS_UPCA = 65;
  // UPC-E条码
  public static readonly BCS_UPCE = 66;
  // EAN8条码
  public static readonly BCS_EAN8 = 68;
  // EAN13条码
  public static readonly BCS_EAN13 = 67;
  // JAN8条码
  public static readonly BCS_JAN8 = 68;
  // JAN13条码
  public static readonly BCS_JAN13 = 67;
  // ITF条码
  public static readonly BCS_ITF = 70;
  // Codabar条码
  public static readonly BCS_Codabar = 71;
  // Code39条码
  public static readonly BCS_Code39 = 69;
  // Code93条码
  public static readonly BCS_Code93 = 72;
  // Code128条码
  public static readonly BCS_Code128 = 73;
  // 不显示HRI字符
  public static readonly HRI_TEXT_NONE = 0;
  // HRI字符显示在条码上方
  public static readonly HRI_TEXT_ABOVE = 1;
  // HRI字符显示在条码下方
  public static readonly HRI_TEXT_BELOW = 2;
  // HRI字符显示在条码上下方
  public static readonly HRI_TEXT_BOTH = 3;
  // 二维码纠错级别L(7%)
  public static readonly QRCODE_EC_LEVEL_L = 48;
  // 二维码纠错级别M(15%)
  public static readonly QRCODE_EC_LEVEL_M = 49;
  // 二维码纠错级别Q(25%)
  public static readonly QRCODE_EC_LEVEL_Q = 50;
  // 二维码纠错级别H(30%)
  public static readonly QRCODE_EC_LEVEL_H = 51;
  // 全切纸
  public static readonly CUT_ALL = 0;
  // 半切纸
  public static readonly CUT_HALF = 1;
  // 58mm打印机
  public static readonly DEVICE_58 = 1;
  // 80mm打印机
  public static readonly DEVICE_80 = 2;
  // 76mm打印机
  public static readonly DEVICE_76 = 3;
  // 2针打印头
  public static readonly PIN_TWO = 0;
  // 5针打印头
  public static readonly PIN_FIVE = 1;
  // 未知状态
  public static readonly STS_UNKNOWN = -1;
  // 正常状态
  public static readonly STS_NORMAL = 0;
  // 打印机盖子打开
  public static readonly STS_COVEROPEN = 16;
  // 进纸按钮按下
  public static readonly STS_PRESS_FEED = 8;
  // 缺纸
  public static readonly STS_PAPEREMPTY = 32;
  // 打印机错误
  public static readonly STS_PRINTER_ERR = 64;
  // 钱箱打开
  public static readonly STS_CASH_OPEN = 0;
  // 钱箱关闭
  public static readonly STS_CASH_CLOSE = 1;
  // 打印状态
  public static readonly STS_TYPE_PRINT = 1;
  // 离线状态
  public static readonly STS_TYPE_OFFLINE = 2;
  // 错误状态
  public static readonly STS_TYPE_ERR = 3;
  // 缺纸状态
  public static readonly STS_TYPE_PAPER = 4;
  // 连接成功
  public static readonly CONNECT_SUCCESS = 1;
  // 连接失败
  public static readonly CONNECT_FAIL = 2;
  // 发送失败
  public static readonly SEND_FAIL = 3;
  // 连接中断
  public static readonly CONNECT_INTERRUPT = 4;
  // USB设备已连接
  public static readonly USB_ATTACHED = 5;
  // USB设备已断开
  public static readonly USB_DETACHED = 6;
  // 蓝牙连接中断
  public static readonly BLUETOOTH_INTERRUPT = 7;
  // 左上方向
  public static readonly DIRECTION_LEFT_TOP = 0;
  // 左下方向
  public static readonly DIRECTION_LEFT_BOTTOM = 1;
  // 右下方向
  public static readonly DIRECTION_RIGHT_BOTTOM = 2;
  // 右上方向
  public static readonly DIRECTION_RIGHT_TOP = 3;
  // 8点单密度
  public static readonly SINGLE_DENSITY_8 = 0;
  // 8点双密度
  public static readonly DOUBLE_DENSITY_8 = 1;
  // 24点单密度
  public static readonly SINGLE_DENSITY_24 = 32;
  // 24点双密度
  public static readonly DOUBLE_DENSITY_24 = 33;
  // 默认间距
  public static readonly SPACE_DEFAULT = -1;
  // PC437代码页(美国/欧洲标准)
  public static readonly CODE_PAGE_PC437 = 0;
  // 片假名代码页
  public static readonly CODE_PAGE_KATAKANA = 1;
  // PC850代码页(多语言)
  public static readonly CODE_PAGE_PC850 = 2;
  // PC860代码页(葡萄牙语)
  public static readonly CODE_PAGE_PC860 = 3;
  // PC863代码页(加拿大-法语)
  public static readonly CODE_PAGE_PC863 = 4;
  // PC865代码页(北欧)
  public static readonly CODE_PAGE_PC865 = 5;
  // 西欧代码页
  public static readonly CODE_PAGE_WEST_EUROPE = 6;
  // 希腊代码页
  public static readonly CODE_PAGE_GREEK = 7;
  // 希伯来语代码页
  public static readonly CODE_PAGE_HEBREW = 8;
  // 东欧代码页
  public static readonly CODE_PAGE_EAST_EUROPE = 9;
  // 伊朗代码页
  public static readonly CODE_PAGE_IRAN = 10;
  // WPC1252代码页
  public static readonly CODE_PAGE_WPC1252 = 16;
  // PC866代码页(西里尔字母)
  public static readonly CODE_PAGE_PC866 = 17;
  // PC852代码页(拉丁语系2)
  public static readonly CODE_PAGE_PC852 = 18;
  // PC858代码页(欧洲)
  public static readonly CODE_PAGE_PC858 = 19;
  // 标准字体
  public static readonly FONT_STANDARD = 0;
  // 压缩字体
  public static readonly FONT_COMPRESS = 1;
  // 已连接状态
  public static readonly STS_CONNECT = 1;
  // 断开连接状态
  public static readonly STS_DISCONNECT = 0;
  // 无加密
  public static readonly ENCRYPT_NULL = 0;
  // WEP64加密
  public static readonly ENCRYPT_WEP64 = 1;
  // WEP128加密
  public static readonly ENCRYPT_WEP128 = 2;
  // WPA-AES-PSK加密
  public static readonly ENCRYPT_WPA_AES_PSK = 3;
  // WPA-TKIP-PSK加密
  public static readonly ENCRYPT_WPA_TKIP_PSK = 4;
  // WPA-TKIP/AES-PSK混合加密
  public static readonly ENCRYPT_WPA_TKIP_AES_PSK = 5;
  // WPA2-AES-PSK加密
  public static readonly ENCRYPT_WPA2_AES_PSK = 6;
  // WPA2-TKIP加密
  public static readonly ENCRYPT_WPA2_TKIP = 7;
  // WPA2-TKIP/AES-PSK混合加密
  public static readonly ENCRYPT_WPA2_TKIP_AES_PSK = 8;
  // WPA/WPA2混合模式加密
  public static readonly ENCRYPT_WPA_WPA2_MixedMode = 9;
}
